const Router = require('@koa/router')
const Log = require('../controllers/logController')

const router = new Router({
    prefix: '/log',
})

router.get('/list', Log.findList)
router.delete('/all', Log.deleteAll)
router.delete('/:id', Log.remove)
module.exports = router
